package com.deram.ctin.serv.business.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel(description = "动产抵押")
public class BusinessMortgage implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "登记日期")
    private Date registerDate;
    @ApiModelProperty(value = "登记机关")
    private String registrationAuthority;
    @ApiModelProperty(value = "被担保债券种类")
    private String bondType;
    @ApiModelProperty(value = "债权数额")
    private BigDecimal claimAmount;
    @ApiModelProperty(value = "债务期限")
    private String claimDeadline;
    @ApiModelProperty(value = "担保范围")
    private String guaranteePurview;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "企业ID")
    private Long enterId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(Date registerDate) {
        this.registerDate = registerDate;
    }

    public String getRegistrationAuthority() {
        return registrationAuthority;
    }

    public void setRegistrationAuthority(String registrationAuthority) {
        this.registrationAuthority = registrationAuthority == null ? null : registrationAuthority.trim();
    }

    public String getBondType() {
        return bondType;
    }

    public void setBondType(String bondType) {
        this.bondType = bondType == null ? null : bondType.trim();
    }

    public BigDecimal getClaimAmount() {
        return claimAmount;
    }

    public void setClaimAmount(BigDecimal claimAmount) {
        this.claimAmount = claimAmount;
    }

    public String getClaimDeadline() {
        return claimDeadline;
    }

    public void setClaimDeadline(String claimDeadline) {
        this.claimDeadline = claimDeadline == null ? null : claimDeadline.trim();
    }

    public String getGuaranteePurview() {
        return guaranteePurview;
    }

    public void setGuaranteePurview(String guaranteePurview) {
        this.guaranteePurview = guaranteePurview == null ? null : guaranteePurview.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    @Override
    public String toString() {
        return "BusinessMortgage{" +
                "id=" + id +
                ", registerDate=" + registerDate +
                ", registrationAuthority='" + registrationAuthority + '\'' +
                ", bondType='" + bondType + '\'' +
                ", claimAmount=" + claimAmount +
                ", claimDeadline='" + claimDeadline + '\'' +
                ", guaranteePurview='" + guaranteePurview + '\'' +
                ", remark='" + remark + '\'' +
                ", enterId=" + enterId +
                '}';
    }
}